package com.explment.lens.controller.user;

import com.explment.lens.entity.SysUserDataScopeEntity;
import com.explment.lens.service.SysUserDataScopeService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 用户数据范围 controller
 */
@RestController
@RequestMapping("/sysUserDataScopeEntity")
public class SysUserDataScopeController {
    @Autowired
    private SysUserDataScopeService sysUserDataScopeEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysUserDataScopeEntityService.getById(id));
    }
}